package com.leinao.category.dto;

/**
 *
 * @Description 算法、数据集等主体分类关联信息表
 * @author lizi
 * @date 2019/03/06 下午6:48
 * @Version 1.0
 */
public class CategoryRelationDto {

    /**
     *
     */
    private static final long serialVersionUID = -2078883521823042850L;

    /**
     * 分类关联ID
     */
	private Long id;

    /**
     * 引用该分类的对象的主键
     */
    private Long objId;

    /**
     * pai_object_category表的主键
     */
    private Long categoryId;

    /**
     * 分类名称
     */
    private String name;

    /**
     * 类型: 1-公开项目，2-数据集  3:模型
     */
    private Integer type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getObjId() {
        return objId;
    }

    public void setObjId(Long objId) {
        this.objId = objId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "CategoryRelationDto{" +
                "id=" + id +
                ", objId=" + objId +
                ", categoryId=" + categoryId +
                ", name='" + name + '\'' +
                ", type=" + type +
                '}';
    }
}